package com.ruoyi.refund.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 退款订单对象 t_refund_order
 *
 * @author ruoyi
 * @date 2025-04-09
 */
@Data
public class RefundOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 售后订单ID
     */
    private Long id;

    /**
     * 用户
     */
    @Excel(name = "用户")
    private Long userId;
    private String userName;
    /**
     * 技师
     */
    @Excel(name = "技师")
    private Long tid;

    private String tName;


    /**
     * 退款订单号
     */
    @Excel(name = "退款订单号")
    private String refundOrderNo;

    /**
     * 付款订单号
     */
    @Excel(name = "付款订单号")
    private String orderNo;

    /**
     * 申请退款金额
     */
    @Excel(name = "申请退款金额")
    private BigDecimal applyRefundPrice;

    /**
     * 申请退款项目费
     */
    @Excel(name = "申请退款项目费")
    private BigDecimal applyRefundItemPrice;

    /**
     * 申请退款路费
     */
    @Excel(name = "申请退款路费")
    private BigDecimal applyRefundFarePrice;

    /**
     * 可退款金额
     */
    @Excel(name = "可退款金额")
    private BigDecimal canRefundPrice;

    /**
     * 可退款项目费
     */
    @Excel(name = "可退款项目费")
    private BigDecimal canRefundItemPrice;

    /**
     * 可退款路费
     */
    @Excel(name = "可退款路费")
    private BigDecimal canRefundFarePrice;

    /**
     * 技师获得金额
     */
    @Excel(name = "技师获得金额")
    private BigDecimal technicianGet;

    /**
     * 申请退款原因
     */
    @Excel(name = "申请退款原因")
    private String applyRefundReason;

    /**
     * 补充描述
     */
    @Excel(name = "补充描述")
    private String addDescription;

    /**
     * 客户订单原始转态
     */
    @Excel(name = "客户订单原始转态")
    private Long userOrderStatus;

    /**
     * 技师订单原始状态
     */
    @Excel(name = "技师订单原始状态")
    private Long technicianOrderStatus;

    /**
     * 拒绝原因
     */
    @Excel(name = "拒绝原因")
    private String falseReason;

    /**
     * 退款状态
     */
    @Excel(name = "退款状态")
    private Integer auditStatus;

    /**
     * 项目名
     */
    @Excel(name = "项目名")
    private String itemName;

    /**
     * 项目图
     */
    @Excel(name = "项目图")
    private String itemPicture;

    /**
     * 项目时长（分钟）
     */
    @Excel(name = "项目时长", readConverterExp = "分=钟")
    private Long itemTime;

    /**
     * 订单总金额
     */
    @Excel(name = "订单总金额")
    private BigDecimal orderTotalPrice;

    /**
     * 项目价格
     */
    @Excel(name = "项目价格")
    private BigDecimal orderItemPrice;

    /**
     * 出行车费
     */
    @Excel(name = "出行车费")
    private BigDecimal orderFarePrice;

    /**
     * 下单数量
     */
    @Excel(name = "下单数量")
    private Integer orderNum;

    /**
     * 支付方式
     */
    @Excel(name = "支付方式")
    private String payType;

    /**
     * 逻辑删除（0=未删除，1=已删除）
     */
    private Integer isDelete;

    private String userTel;

    private String modeTravel;

    private String addressDetail;

    private BigDecimal distance;

    private String technicianAvatar;

    private String technicianTel;

}
